﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Mt.Site.Core.WorkFlows.Enum;
using System;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Core.WorkFlows.Process.Entities
{
    // 与 paper表联查， 用Process表，data表补充数据

    public class WorkFlowRunTime : Entity<long>, IHasCreationTime
    {
        public DateTime CreationTime { get ; set; }

        public Guid PaperId { get; set; }

        public Guid? ProcessId { get; set; }

        public RunTimeState State { get; set; }

        public long UserId { get; set; }

        public DateTime StartTime { get; set; }
    }
}
